home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / earcd / util / time / rtwatch.rea < prev    next >
Text File  |  1997-03-02  |  4KB  |  93 lines

  1. Short:    BattClock Watchdog 1.6
  2. Author:   T.Heinrich@t-online.de (Thomas Heinrich)
  3. Uploader: T.Heinrich@t-online.de (Thomas Heinrich)
  4. Version:  1.6
  5. Type:     util/time
  6. Requires: OS2.04+, hardware clock
  7. Replaces: RTWatch#?
  8.  
  9. RealTimeWatch V1.4 - fixes a stupid bug with option LOGFILE
  10. RealTimeWatch V1.5 - fixes a stupid bug with unused Request
  11. RealTimeWatch V1.6 - cleaned up code, uses logfile more efficiently
  12.  
  13. ********************************
  14. * NOW OPTIMIZED FOR MC68020+ ! *
  15. * DOES NOT WORK WITH OLDER CPU *
  16. ********************************
  17.  
  18. Ever experienced a program mashing your hardware clock ?
  19. Ever tried to use the V43 picture.datatype afterwards ?
  20. Ever wondered, why your picture viewer refuses to work ?
  21. Ever clicked on a ToolManager dock without a result ?
  22. All this happened, after upgrading to a faster processor ?
  23.  
  24. Well, that's what happened to me !
  25.  
  26. I bought a Cyberstorm 60/50, and of course, most of the programs I
  27. own work fine, except some freeware animation players and picture
  28. viewers, that do not only show pictures, but change your system time
  29. now and then. Well, new processor, new problems, I know that (I'm
  30. using an Amiga since Summer 1988).
  31.  
  32. I looked around for a tool, that may fix this problem, but found
  33. none. Not on the AmiNet-CD's, at least.
  34.  
  35. So I decided to write one on my own (sounds somewhat familiar... :)
  36.  
  37. What it is:
  38. -----------
  39. RealTimeWatch is a watchdog for your battery backed-up clock. You
  40. definitely need one to use this program, as it checks for it and,
  41. of course, exits gracefully (Alert() ;^), if you don't have one...
  42.  
  43. What it does:
  44. -------------
  45. It reads the battclock every second (may be set in a range of 1 to
  46. 60 seconds by commandline option) and compares the value to the
  47. previously read value. If that shows a difference of more than 90
  48. minutes (remember, during summer, they steal 60 minutes of your
  49. precious sleep; you should adjust your clock then), it informs you
  50. and lets you
  51.     · RESTORE the time to the previous value
  52.     · RESET the time to January, 1st 1978 ;^)
  53.     · ACCEPT that your system time has changed
  54. Luckily, if your clock gets mashed up, it is a matter of years,
  55. normally. So I can safely check for a tiny 90 minutes difference.
  56.  
  57. What it can NOT do:
  58. -------------------
  59. It can't set the time very accurately, but that is a matter of some
  60. seconds, and the checking intervall you specify, although this is
  61. taken into account when restoring the clock.
  62. Obviously, if the program that mashes your clock, hangs afterwards,
  63. or even crashes the machine, there is no time for "RealTimeWatch"
  64. (that's the actual name of the program) to show up and let you
  65. interfere. RealTimeWatch provides an optional logfile to set the
  66. time again, if you reboot. However, you may lose some hours,
  67. depending on your last reboot...
  68.  
  69. What YOU should do:
  70. -------------------
  71. READ THE DOCS BEFORE USING THE PROGRAM !
  72. By the way, it is FREEWARE !
  73. And, sorry, only a command line version. It should be started early
  74. (after SetPatch) in the startup-sequence, anyway !
  75.  
  76. Have fun,
  77.     Thomas "Hoin" Heinrich.
  78.  
  79.  
  80. ============================= Archive contents =============================
  81.  
  82. Original  Packed Ratio    Date     Time    Name
  83. -------- ------- ----- --------- --------  -------------
  84.     1233     594 51.8% 12-Feb-97 20:26:48  RTWatch.info
  85.    25370   10759 57.5% 12-Feb-97 20:48:20 +RealTimeWatch.guide
  86.     2134     958 55.1% 12-Feb-97 20:48:40 +RealTimeWatch.guide.info
  87.     6480    3575 44.8% 12-Feb-97 20:27:28 +RealTimeWatch_deutsch
  88.     6236    3459 44.5% 12-Feb-97 20:27:28 +RealTimeWatch_english
  89.     3052    1565 48.7% 12-Feb-97 20:27:28 +RTWatch.readme
  90.     1460     886 39.3% 12-Feb-97 20:28:32 +RTWatch.readme.info
  91. -------- ------- ----- --------- --------
  92.    45965   21796 52.5% 14-Feb-97 01:33:30   7 files
  93.